package org.wanda.pv.model.business;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.nutz.dao.entity.annotation.*;
import org.wanda.pv.framework.base.BaseModel;

/**
 * @author lxy
 * Created by 2018/12/25 11:02
 */
@Table("wd_project_check_state")
public class ProjectCheckState extends BaseModel {

	@Column
	@Id
	@Prev(els = {@EL("$me.idGen()")})
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	@Comment("项目ID")
	@Column("hy_project_id")
	private String hyProjectId;

	@Comment("项目的审核状态，是基于审查人员的状态 0：设计确认 1：三审确认 2：项目确认")
	@Column("project_check_state")
	private int projectCheckState;

	@Comment("项目的审查进度，是对于整个项目而言的 0：初审状态 1：会审状态 2：复审中 3：复审结束")
	@Column("project_check_schedule")
	private int projectCheckSchedule;

	@Comment("复审万达项目方用户id")
	@Column("repetition_wd_user_id")
	private Long repetitionWdUserId;

	@Comment("复审设计总包用户id")
	@Column("repetition_de_user_id")
	private Long repetitionDeUserId;

	@Comment("复审三审单位id")
	@Column("repetition_pv_user_id")
	private Long repetitionPvUserId;

	@Comment("初审万达项目方用户id")
	@Column("first_wd_user_id")
	private Long firstWdUserId;

	@Comment("初审设计总包用户id")
	@Column("first_de_user_id")
	private Long firstDeUserId;

	@Comment("初审三审单位id")
	@Column("first_pv_user_id")
	private Long firstPvUserId;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getHyProjectId() {
		return hyProjectId;
	}

	public void setHyProjectId(String hyProjectId) {
		this.hyProjectId = hyProjectId;
	}

	public int getProjectCheckState() {
		return projectCheckState;
	}

	public void setProjectCheckState(int projectCheckState) {
		this.projectCheckState = projectCheckState;
	}

	public int getProjectCheckSchedule() {
		return projectCheckSchedule;
	}

	public void setProjectCheckSchedule(int projectCheckSchedule) {
		this.projectCheckSchedule = projectCheckSchedule;
	}

	public Long getRepetitionWdUserId() {
		return repetitionWdUserId;
	}

	public void setRepetitionWdUserId(Long repetitionWdUserId) {
		this.repetitionWdUserId = repetitionWdUserId;
	}

	public Long getRepetitionDeUserId() {
		return repetitionDeUserId;
	}

	public void setRepetitionDeUserId(Long repetitionDeUserId) {
		this.repetitionDeUserId = repetitionDeUserId;
	}

	public Long getRepetitionPvUserId() {
		return repetitionPvUserId;
	}

	public void setRepetitionPvUserId(Long repetitionPvUserId) {
		this.repetitionPvUserId = repetitionPvUserId;
	}

	public Long getFirstWdUserId() {
		return firstWdUserId;
	}

	public void setFirstWdUserId(Long firstWdUserId) {
		this.firstWdUserId = firstWdUserId;
	}

	public Long getFirstDeUserId() {
		return firstDeUserId;
	}

	public void setFirstDeUserId(Long firstDeUserId) {
		this.firstDeUserId = firstDeUserId;
	}

	public Long getFirstPvUserId() {
		return firstPvUserId;
	}

	public void setFirstPvUserId(Long firstPvUserId) {
		this.firstPvUserId = firstPvUserId;
	}
}
